<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<script src="js/jQuery3.4.1.js"></script>
		<script src="js/bootstrap.bundle.min.js"></script>
		<script src="js/bootstrap.min.js"></script>
	</head>
	<body>
		<div class="container mt-3">
				<a href="#collapse-1" class="btn btn-success" type="button" data-toggle="collapse">a with href</a>
				<button type="button" class="btn btn-success ml-3" data-toggle="collapse" data-target="#collapse-2">Button with data</button>
				<div id="collapse-1" class="collapse card card-body">
					这是使用a标签触发的折叠
				</div>
				<div id="collapse-2" class="collapse card card-body">
					这是使用button标签触发的折叠
				</div>
		</div>
	</body>
</html>
